{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Information about where an sbom component originated from",
  "type": "object",
  "properties": {
    "category": { "type": "string" },
    "input_file": {
      "type": "object",
      "properties": {
        "path": { "type": "string" }
      },
      "required": ["path"]
    },
    "source_file": {
      "type": "object",
      "properties": {
        "path": { "type": "string" }
      },
      "required": ["path"]
    },
    "package_manager": {
      "type": "object",
      "properties": {
        "name": { "type": "string" }
      },
      "required": ["name"]
    },
    "language": {
      "type": "object",
      "properties": {
        "name": { "type": "string" }
      },
      "required": ["name"]
    }
  },
  "required": [
    "input_file"
  ],
  "additionalProperties": false
}
